﻿
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>StringCol NarrativeCol</TITLE>
<LINK REL=STYLESHEET HREF="schema.css" TYPE="text/css">
</HEAD>
<BODY topmargin=0 rightmargin=0 leftmargin=0 style="background-image:  url(file:///C%7C/CGProjects/eBisTest/Output/titletile.jpg); background-repeat:repeat-x; background-position: 0 0;" >
<DIV CLASS="PageHeading"> static public XmlObjectBase fromXml( String xmlIn )<br>
  &nbsp;&nbsp;&nbsp;&nbsp;throws com.liquid_technologies.ltxmllib18.exceptions.LtException, java.io.IOException  <br>
  static public XmlObjectBase fromXml( <br>
&nbsp;&nbsp;&nbsp;  String xmlIn, <br>
&nbsp;&nbsp;&nbsp;&nbsp;SerializationContext context )  <br>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throws com.liquid_technologies.ltxmllib18.exceptions.LtException, java.io.IOException <br>
  <br>
  static public XmlObjectBase fromXmlFile( String FileName )  <br>
&nbsp;&nbsp;&nbsp;&nbsp;throws com.liquid_technologies.ltxmllib18.exceptions.LtException, java.io.IOException <br>
static public XmlObjectBase fromXmlFile( <br>
&nbsp;&nbsp;&nbsp;&nbsp;String FileName, <br>
&nbsp;&nbsp;&nbsp;&nbsp;SerializationContext context  )<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throws com.liquid_technologies.ltxmllib18.exceptions.LtException, java.io.IOException <br>
<br>
static public XmlObjectBase fromXmlStream(byte[] data)<br>
&nbsp;&nbsp;&nbsp;&nbsp;throws com.liquid_technologies.ltxmllib18.exceptions.LtException, java.io.IOException <br>
static public XmlObjectBase fromXmlStream(<br>
&nbsp;&nbsp;&nbsp;&nbsp;byte[] data, <br>
&nbsp;&nbsp;&nbsp;&nbsp;SerializationContext context  )<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throws com.liquid_technologies.ltxmllib18.exceptions.LtException, java.io.IOException <br>
<br>
static public XmlObjectBase fromXmlElement(<br>
&nbsp;&nbsp;&nbsp;&nbsp;com.liquid_technologies.ltxmllib18.dom.XmlElement xmlParent)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; throws com.liquid_technologies.ltxmllib18.exceptions.LtException, java.io.IOException <br>
static public XmlObjectBase fromXmlElement(<br>
&nbsp;&nbsp;&nbsp;&nbsp;com.liquid_technologies.ltxmllib18.dom.XmlElement xmlParent, <br>
&nbsp;&nbsp;&nbsp;&nbsp;SerializationContext context)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throws com.liquid_technologies.ltxmllib18.exceptions.LtException, java.io.IOException <br>
<br>
</DIV>
<IMG src="GradLeft.jpg" width=7 height=378 alt="" border="0" style="position:absolute; left:10; top:18;z-Index:2"> 
<IMG src="GradTop.jpg" width=352 height=7 alt="" border="0" align="top" style="position:absolute; left:10; top:18; z-index:1"> 
<TABLE CLASS="InfoTable" cellpadding=0 cellspacing=0> <TR height=20> <TD width=20>&nbsp;</TD><TD valign=top align=left width=9 bgcolor="#cccc66"><IMG SRC="tablecorner.jpg" align=top></TD><TD CLASS="TableLightLabel" WIDTH=206>Property</TD><TD CLASS="TableLightLabel" >Description</TD><TD width=20>&nbsp;</TD></TR> 
<TR height=20 VALIGN="TOP"> <TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc">Description</TD>
  <TD CLASS="TableLightDesc"> Creates the appropriate generated object, and loads the XML Data into it. </TD><TD width=20>&nbsp;</TD></TR> 
<TR height=20 VALIGN="TOP">
  <TD>&nbsp;</TD>
  <TD CLASS="TableLightDesc">&nbsp;</TD>
  <TD CLASS="TableLightDesc">Parameters</TD>
  <TD CLASS="TableLightDesc">xmlIn - The XML String to be loaded<br>
    FileName - The name of the XML file to load<br>
    data - an array of bytes, that contains an XML document<br>
    xmlParent - an XmlElement to be loaded<br>
    context - the context information used to load the XML document. </TD>
  <TD>&nbsp;</TD>
</TR>
<TR height=20 VALIGN="TOP"> 
<TD width=20>&nbsp;</TD><TD CLASS="TableLightDesc">&nbsp;</TD><TD CLASS="TableLightDesc">Remarks</TD>
<TD CLASS="TableLightDesc"> <p>These methods can be useful if you don't initially know the type of XML document you are dealing with. <br>
    These methods will examine the XML data provided, and create the correct generated class. <br>
  Once created the XML Data is loaded into the class.<br>
  Finally the class is returned.<br>
  <br>
  If there are no suitable classes to load the XML data into (i.e. the document is not described in the schema), then an exception will be raised.</p>
  </TD><TD width=20>&nbsp;</TD></TR>
<TR height=20 VALIGN="TOP">
  <TD>&nbsp;</TD>
  <TD CLASS="TableLightDesc">&nbsp;</TD>
  <TD CLASS="TableLightDesc">Example</TD>
  <TD CLASS="code"> // Creates an object and loads the xml from a file into it.<br>
XmlObjectBase elm = MyGeneratedLib.ClassFactory.fromXmlFile(filename);<br></TD>
  <TD>&nbsp;</TD>
</TR> 
</TABLE>

</BODY>
</HTML>